package com.fat.service;

import com.fat.pojo.Category;
import com.fat.pojo.Result;
import jakarta.validation.constraints.NotNull;

public interface CategoryService {
    Result addCategory(Category category);

    Result listCategory();

    Result getCategoryDetail(int id);

    Result updateCategory(Category category);

    Result deleteCategory(int id);
}
